]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
calendar-server: Remove unused defines
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 18 Feb 2020 16:22:56 +0000 (17:22 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 26 Feb 2020 22:53:00 +0000 (22:53 +0000)
The file doesn't contain any translatable strings, so the i18n
macros are unused.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1016

src/calendar-server/calendar-sources.c

index bdc14542191bc0dd4dfaa2a185ae4f046f640b37..a0da1cedf4443f9c33499369e14ccbaaa4fb19ee 100644 (file)
@@ -36,14 +36,6 @@ G_GNUC_END_IGNORE_DEPRECATIONS
 #undef CALENDAR_ENABLE_DEBUG
 #include "calendar-debug.h"
 
-#ifndef _
-#define _(x) gettext(x)
-#endif
-
-#ifndef N_
-#define N_(x) x
-#endif
-
 typedef struct _ClientData ClientData;
 typedef struct _CalendarSourceData CalendarSourceData;